package com.ldatum.crm.serviceImpl;

import java.util.List;

import com.ldatum.crm.dao.InventoryDao;
import com.ldatum.crm.daoImpl.InventoryDaoImpl;
import com.ldatum.crm.domain.Inventory;
import com.ldatum.crm.service.InventoryService;

public class InventoryServiceImpl implements InventoryService {

	InventoryDao inventoryDao = new InventoryDaoImpl();
	@Override
	public int findTotalRemainder() throws Exception {
		return inventoryDao.findTotalRemainder();
	}
	@Override
	public List<Inventory> list() throws Exception {
		return inventoryDao.list();
	}

}
